package com.ddwl.schema.bo.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;


/**
 * @author Fu Zhaohui
 */
@ApiModel("在线反馈Bo")
@Setter
@Getter
public class FeedbackBo {

    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty(value = "用户信息", hidden = true)
    private String userId;
    @ApiModelProperty("类型")
    private Byte type;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("最近回复内容")
    private String content;
    @ApiModelProperty("产品")
    private String product;
    @ApiModelProperty("截图")
    private String screenshot;
    @ApiModelProperty("区域ID")
    private String regionId;
    @ApiModelProperty("手机号码")
    @Pattern(regexp = "^(\\s{0})|(1\\d{10})$", message = "手机号码格式错误")
    private String mobile;
    @ApiModelProperty("微信")
    private String wechat;
    @ApiModelProperty("QQ")
    private String qq;
    @ApiModelProperty("解决状态 0未解决 1已解决 2不解决 3无法重现")
    private Byte status;
    @ApiModelProperty("打分")
    private Integer star;
    @ApiModelProperty("备注")
    private String remark;

}
